<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=iso-iso-8859-1">
<LINK REL="Start" HREF="index.html">
<LINK REL="Contents" HREF="toc.html">
<LINK REL="Prev" HREF="715Addingalegendtothegraph.html">
<LINK REL="Next" HREF="717Usingthestepstyletorenderlineplots.html">
<STYLE TYPE="text/css"><!--
BODY { font-family: serif }
H1 { font-family: sans-serif }
H2 { font-family: sans-serif }
H3 { font-family: sans-serif }
H4 { font-family: sans-serif }
H5 { font-family: sans-serif }
H6 { font-family: sans-serif }
SUB { font-size: smaller }
SUP { font-size: smaller }
PRE { font-family: monospace }
A { text-decoration: none }
--></STYLE>
</HEAD>
<BODY>
<A HREF="toc.html">Contents</A>
<A HREF="715Addingalegendtothegraph.html">Previous</A>
<A HREF="717Usingthestepstyletorenderlineplots.html">Next</A>
<HR NOSHADE>
<H3><A NAME="7_1_6">7.1.6 Handling null-values in line plots</A></H3>
<P> JpGraph offers two ways of handling null values (or discontinuities)
 in the data. You can either have a &quot;whole&quot; in the data or the line may
 be extended between the previous and next data point in the graph.</P>
<P> If the data value is null (&quot;&quot;) or the special value &quot;x&quot; then the
 data point will not be plotted and will leave a gap in the line.</P>
<P> If the data value is &quot;-&quot; then the line will be drawn between the
 previous and next point in the data ignoring the &quot;-&quot; point.</P>
<P> The following example shows both these possibilities.</P>
<P><DIV class="example">
<BR> <A href="exframes/frame_nullvalueex01.html" target="blank"><IMG border="0"
HEIGHT="250"       src="img/img/img/img/img/img/nullvalueex01.png" WIDTH="400"></A>
<BR><B>Figure 15:</B> Handling null values in line graphs <A href="exframes/frame_nullvalueex01.html"
target="blank">[src]</A>&nbsp;
<P></P>
</DIV></P>
<P></P>
<HR NOSHADE>
<A HREF="toc.html">Contents</A>
<A HREF="715Addingalegendtothegraph.html">Previous</A>
<A HREF="717Usingthestepstyletorenderlineplots.html">Next</A>
</BODY>
</HTML>
